package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.OtherCarAddOil;
import com.gljx.web.Entity.OtherCarAddOilEntry;
import com.gljx.web.Entity.User;

public interface OtherCarAddOilService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<OtherCarAddOilEntry> queryOtherCarAddOilEntryMapper(String fparentId,String dept,String car);

	void editOtherCarAddOil(OtherCarAddOil otherCarAddOil, String[] fseq, String[] cfcar, String[] cfdept,
			String[] cfoilspecification, String[] cfqty, String[] cfremarks, User user, String time);

	OtherCarAddOil queryOtherCarAddOilByFid(String fid);

	int auditOtherCarAddOil(String fid, String type, String fhandlerId, String message, String state, String fnumber);

    void deleteOtherCarAddOilByFid(String fid, String[] deleteId, String[] fnumber, String fnumber2);

    int submitOtherCarAddOil(OtherCarAddOil otherCarAddOil);

    List<OtherCarAddOilEntry> selectOtherCarAddOilByInfo(String fcompanyid, String addoilName, String cfdept, String cfcar, String beginTime, String endTime);
}
